package com.cqu.apptest.VirtualDB;

import com.cqu.apptest.pojo.User;

import java.util.ArrayList;
import java.util.List;

public class UserDatabase {

    List<User> users = new ArrayList<User>();

    public UserDatabase() {
        List<User> usersList = new ArrayList<User>();
        usersList.add(new User(1, "张三", "123456"));
        usersList.add(new User(2, "李四", "123456"));
        usersList.add(new User(3, "王五", "123456"));
        this.users = usersList;
    }

    public List<User> getUsers() {
        return users;
    }

}
